Optimal. Leaf size=123 \[ -\frac {2 (b d-a e)^4}{e^5 \sqrt {d+e x}}-\frac {8 b (b d-a e)^3 \sqrt {d+e x}}{e^5}+\frac {4 b^2 (b d-a e)^2 (d+e x)^{3/2}}{e^5}-\frac {8 b^3 (b d-a e) (d+e x)^{5/2}}{5 e^5}+\frac {2 b^4 (d+e x)^{7/2}}{7 e^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 123, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {27, 45}
\begin {gather*} -\frac {8 b^3 (d+e x)^{5/2} (b d-a e)}{5 e^5}+\frac {4 b^2 (d+e x)^{3/2} (b d-a e)^2}{e^5}-\frac {8 b \sqrt {d+e x} (b d-a e)^3}{e^5}-\frac {2 (b d-a e)^4}{e^5 \sqrt {d+e x}}+\frac {2 b^4 (d+e x)^{7/2}}{7 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x+b^2 x^2\right )^2}{(d+e x)^{3/2}} \, dx &=\int \frac {(a+b x)^4}{(d+e x)^{3/2}} \, dx\\ &=\int \left (\frac {(-b d+a e)^4}{e^4 (d+e x)^{3/2}}-\frac {4 b (b d-a e)^3}{e^4 \sqrt {d+e x}}+\frac {6 b^2 (b d-a e)^2 \sqrt {d+e x}}{e^4}-\frac {4 b^3 (b d-a e) (d+e x)^{3/2}}{e^4}+\frac {b^4 (d+e x)^{5/2}}{e^4}\right ) \, dx\\ &=-\frac {2 (b d-a e)^4}{e^5 \sqrt {d+e x}}-\frac {8 b (b d-a e)^3 \sqrt {d+e x}}{e^5}+\frac {4 b^2 (b d-a e)^2 (d+e x)^{3/2}}{e^5}-\frac {8 b^3 (b d-a e) (d+e x)^{5/2}}{5 e^5}+\frac {2 b^4 (d+e x)^{7/2}}{7 e^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 151, normalized size = 1.23 \begin {gather*} \frac {2 \left (-35 a^4 e^4+140 a^3 b e^3 (2 d+e x)+70 a^2 b^2 e^2 \left (-8 d^2-4 d e x+e^2 x^2\right )+28 a b^3 e \left (16 d^3+8 d^2 e x-2 d e^2 x^2+e^3 x^3\right )+b^4 \left (-128 d^4-64 d^3 e x+16 d^2 e^2 x^2-8 d e^3 x^3+5 e^4 x^4\right )\right )}{35 e^5 \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.65, size = 219, normalized size = 1.78
method | result | size |
risch | \(\frac {2 b \left (5 b^{3} e^{3} x^{3}+28 a \,b^{2} e^{3} x^{2}-13 b^{3} d \,e^{2} x^{2}+70 a^{2} b \,e^{3} x -84 a \,b^{2} d \,e^{2} x +29 b^{3} d^{2} e x +140 e^{3} a^{3}-350 a^{2} b d \,e^{2}+308 a \,b^{2} d^{2} e -93 b^{3} d^{3}\right ) \sqrt {e x +d}}{35 e^{5}}-\frac {2 \left (e^{4} a^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}{e^{5} \sqrt {e x +d}}\) | \(179\) |
gosper | \(-\frac {2 \left (-5 b^{4} x^{4} e^{4}-28 a \,b^{3} e^{4} x^{3}+8 b^{4} d \,e^{3} x^{3}-70 a^{2} b^{2} e^{4} x^{2}+56 a \,b^{3} d \,e^{3} x^{2}-16 b^{4} d^{2} e^{2} x^{2}-140 a^{3} b \,e^{4} x +280 a^{2} b^{2} d \,e^{3} x -224 a \,b^{3} d^{2} e^{2} x +64 b^{4} d^{3} e x +35 e^{4} a^{4}-280 a^{3} b d \,e^{3}+560 a^{2} b^{2} d^{2} e^{2}-448 a \,b^{3} d^{3} e +128 b^{4} d^{4}\right )}{35 \sqrt {e x +d}\, e^{5}}\) | \(186\) |
trager | \(-\frac {2 \left (-5 b^{4} x^{4} e^{4}-28 a \,b^{3} e^{4} x^{3}+8 b^{4} d \,e^{3} x^{3}-70 a^{2} b^{2} e^{4} x^{2}+56 a \,b^{3} d \,e^{3} x^{2}-16 b^{4} d^{2} e^{2} x^{2}-140 a^{3} b \,e^{4} x +280 a^{2} b^{2} d \,e^{3} x -224 a \,b^{3} d^{2} e^{2} x +64 b^{4} d^{3} e x +35 e^{4} a^{4}-280 a^{3} b d \,e^{3}+560 a^{2} b^{2} d^{2} e^{2}-448 a \,b^{3} d^{3} e +128 b^{4} d^{4}\right )}{35 \sqrt {e x +d}\, e^{5}}\) | \(186\) |
derivativedivides | \(\frac {\frac {2 b^{4} \left (e x +d \right )^{\frac {7}{2}}}{7}+\frac {8 a \,b^{3} e \left (e x +d \right )^{\frac {5}{2}}}{5}-\frac {8 b^{4} d \left (e x +d \right )^{\frac {5}{2}}}{5}+4 a^{2} b^{2} e^{2} \left (e x +d \right )^{\frac {3}{2}}-8 a \,b^{3} d e \left (e x +d \right )^{\frac {3}{2}}+4 b^{4} d^{2} \left (e x +d \right )^{\frac {3}{2}}+8 a^{3} b \,e^{3} \sqrt {e x +d}-24 a^{2} b^{2} d \,e^{2} \sqrt {e x +d}+24 a \,b^{3} d^{2} e \sqrt {e x +d}-8 b^{4} d^{3} \sqrt {e x +d}-\frac {2 \left (e^{4} a^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}{\sqrt {e x +d}}}{e^{5}}\) | \(219\) |
default | \(\frac {\frac {2 b^{4} \left (e x +d \right )^{\frac {7}{2}}}{7}+\frac {8 a \,b^{3} e \left (e x +d \right )^{\frac {5}{2}}}{5}-\frac {8 b^{4} d \left (e x +d \right )^{\frac {5}{2}}}{5}+4 a^{2} b^{2} e^{2} \left (e x +d \right )^{\frac {3}{2}}-8 a \,b^{3} d e \left (e x +d \right )^{\frac {3}{2}}+4 b^{4} d^{2} \left (e x +d \right )^{\frac {3}{2}}+8 a^{3} b \,e^{3} \sqrt {e x +d}-24 a^{2} b^{2} d \,e^{2} \sqrt {e x +d}+24 a \,b^{3} d^{2} e \sqrt {e x +d}-8 b^{4} d^{3} \sqrt {e x +d}-\frac {2 \left (e^{4} a^{4}-4 a^{3} b d \,e^{3}+6 a^{2} b^{2} d^{2} e^{2}-4 a \,b^{3} d^{3} e +b^{4} d^{4}\right )}{\sqrt {e x +d}}}{e^{5}}\) | \(219\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 189, normalized size = 1.54 \begin {gather*} \frac {2}{35} \, {\left ({\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} b^{4} - 28 \, {\left (b^{4} d - a b^{3} e\right )} {\left (x e + d\right )}^{\frac {5}{2}} + 70 \, {\left (b^{4} d^{2} - 2 \, a b^{3} d e + a^{2} b^{2} e^{2}\right )} {\left (x e + d\right )}^{\frac {3}{2}} - 140 \, {\left (b^{4} d^{3} - 3 \, a b^{3} d^{2} e + 3 \, a^{2} b^{2} d e^{2} - a^{3} b e^{3}\right )} \sqrt {x e + d}\right )} e^{\left (-4\right )} - \frac {35 \, {\left (b^{4} d^{4} - 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} - 4 \, a^{3} b d e^{3} + a^{4} e^{4}\right )} e^{\left (-4\right )}}{\sqrt {x e + d}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.05, size = 173, normalized size = 1.41 \begin {gather*} -\frac {2 \, {\left (128 \, b^{4} d^{4} - {\left (5 \, b^{4} x^{4} + 28 \, a b^{3} x^{3} + 70 \, a^{2} b^{2} x^{2} + 140 \, a^{3} b x - 35 \, a^{4}\right )} e^{4} + 8 \, {\left (b^{4} d x^{3} + 7 \, a b^{3} d x^{2} + 35 \, a^{2} b^{2} d x - 35 \, a^{3} b d\right )} e^{3} - 16 \, {\left (b^{4} d^{2} x^{2} + 14 \, a b^{3} d^{2} x - 35 \, a^{2} b^{2} d^{2}\right )} e^{2} + 64 \, {\left (b^{4} d^{3} x - 7 \, a b^{3} d^{3}\right )} e\right )} \sqrt {x e + d}}{35 \, {\left (x e^{6} + d e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 12.98, size = 168, normalized size = 1.37 \begin {gather*} \frac {2 b^{4} \left (d + e x\right )^{\frac {7}{2}}}{7 e^{5}} + \frac {\left (d + e x\right )^{\frac {5}{2}} \cdot \left (8 a b^{3} e - 8 b^{4} d\right )}{5 e^{5}} + \frac {\left (d + e x\right )^{\frac {3}{2}} \cdot \left (12 a^{2} b^{2} e^{2} - 24 a b^{3} d e + 12 b^{4} d^{2}\right )}{3 e^{5}} + \frac {\sqrt {d + e x} \left (8 a^{3} b e^{3} - 24 a^{2} b^{2} d e^{2} + 24 a b^{3} d^{2} e - 8 b^{4} d^{3}\right )}{e^{5}} - \frac {2 \left (a e - b d\right )^{4}}{e^{5} \sqrt {d + e x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 237 vs.
\(2 (113) = 226\).
time = 0.91, size = 237, normalized size = 1.93 \begin {gather*} \frac {2}{35} \, {\left (5 \, {\left (x e + d\right )}^{\frac {7}{2}} b^{4} e^{30} - 28 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{4} d e^{30} + 70 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{4} d^{2} e^{30} - 140 \, \sqrt {x e + d} b^{4} d^{3} e^{30} + 28 \, {\left (x e + d\right )}^{\frac {5}{2}} a b^{3} e^{31} - 140 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{3} d e^{31} + 420 \, \sqrt {x e + d} a b^{3} d^{2} e^{31} + 70 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b^{2} e^{32} - 420 \, \sqrt {x e + d} a^{2} b^{2} d e^{32} + 140 \, \sqrt {x e + d} a^{3} b e^{33}\right )} e^{\left (-35\right )} - \frac {2 \, {\left (b^{4} d^{4} - 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} - 4 \, a^{3} b d e^{3} + a^{4} e^{4}\right )} e^{\left (-5\right )}}{\sqrt {x e + d}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.54, size = 153, normalized size = 1.24 \begin {gather*} \frac {2\,b^4\,{\left (d+e\,x\right )}^{7/2}}{7\,e^5}-\frac {\left (8\,b^4\,d-8\,a\,b^3\,e\right )\,{\left (d+e\,x\right )}^{5/2}}{5\,e^5}-\frac {2\,a^4\,e^4-8\,a^3\,b\,d\,e^3+12\,a^2\,b^2\,d^2\,e^2-8\,a\,b^3\,d^3\,e+2\,b^4\,d^4}{e^5\,\sqrt {d+e\,x}}+\frac {4\,b^2\,{\left (a\,e-b\,d\right )}^2\,{\left (d+e\,x\right )}^{3/2}}{e^5}+\frac {8\,b\,{\left (a\,e-b\,d\right )}^3\,\sqrt {d+e\,x}}{e^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________